package com.project.bean;

import java.util.List;

/**
 * 房间实体类
 */
public class RoomBean {
    /**房间编号*/
    private Integer roomId;
    /**房间地址*/
    private  String roomAddress;
    /**房间可住人数*/
    private String roomCanNum;
    /**房间已住人数*/
    private Integer roomInNum;
    /**房间状态*/
    private String roomState = "正常";
    /**房间类型*/
    private String roomGender;
    /**学生集合*/
    private List<StudentBean> stuList;

    public RoomBean() {
    }

    public RoomBean(String roomAddress, String roomCanNum, String roomGender) {
        this.roomAddress = roomAddress;
        this.roomCanNum = roomCanNum;
        this.roomGender = roomGender;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getRoomAddress() {
        return roomAddress;
    }

    public void setRoomAddress(String roomAddress) {
        this.roomAddress = roomAddress;
    }

    public String getRoomCanNum() {
        return roomCanNum;
    }

    public void setRoomCanNum(String roomCanNum) {
        this.roomCanNum = roomCanNum;
    }

    public String getRoomState() {
        return roomState;
    }

    public void setRoomState(String roomState) {
        this.roomState = roomState;
    }

    public String getRoomGender() {
        return roomGender;
    }

    public void setRoomGender(String roomGender) {
        this.roomGender = roomGender;
    }

    public List<StudentBean> getStuList() {
        return stuList;
    }

    public void setStuList(List<StudentBean> stuList) {
        this.stuList = stuList;
    }

    public Integer getRoomInNum() {
        return roomInNum;
    }

    public void setRoomInNum(Integer roomInNum) {
        this.roomInNum = roomInNum;
    }

    @Override
    public String toString() {
        return "RoomBean{" +
                "roomId=" + roomId +
                ", roomAddress='" + roomAddress + '\'' +
                ", roomCanNum='" + roomCanNum + '\'' +
                ", roomState='" + roomState + '\'' +
                ", roomGender='" + roomGender + '\'' +
                ", stuList=" + stuList +
                "}\n";
    }
}
